        <h3 class="titre">RESULTATS DE VOTRE RECHERCHE : <?php echo $nb; ?> RESTAURANT(S)</h3>
        <div id="listRestaurant">
        <?php foreach($pager->getResults() as $restaurant ): 
    
            ?>  
            
        <!----->
            <div class="blockRestaurant">
                <div class="restaurantAttr">
                    <div class="nameRestaurant">
                            <p class="linktitle">
                                
                                <a href="<?php echo url_for('show_restaurant', array('id' => $restaurant->getHalalmenuRestaurant()->getId(), 'namerestaurant' => strtolower($restaurant->getHalalmenuRestaurant()->getNamerestaurant()))).'.html' ?>">
        <?php echo strtoupper($restaurant->getHalalmenuRestaurant()->getNamerestaurant()) ?></a>
                            </p>
                    
                    </div><br/>
                    <div class="adressRestaurant"><?php  echo $restaurant->getHalalmenuRestaurant()->getStreet1().' '.
                                                    $restaurant->getHalalmenuRestaurant()->getZipcode().' '.
                                                    ucfirst($restaurant->getHalalmenuRestaurant()->getHalalmenuCity()) ?>
                    </div>
                    <div class="categories" style="font-size:14px;font-style:italic;border:0px solid black;padding: 5px 0px 10px 0px;margin-top:7px">
                    <span><label  style="width: 60px"> Cuisine(s): </label>
                        <?php  
                       $list = "";
                       foreach($restaurantInfo[$restaurant->getHalalmenuRestaurant()->getId()]["cuisine"] as $cuisine){
                          $list = $list.$cuisine["cuisine"].', ';
                          
                       }
                       $list[strlen($list) - 2] = ".";
                       echo ucfirst($list);

                        ?> 

                    </span>
                    </div>
                </div>
                <div class="restaurantStat" style="float:right;text-align:right" >
                   
<!--                    <div class="average">
                    <?php if ($restaurantInfo[$restaurant->getHalalmenuRestaurant()->getId()]['average'] != NULL): ?>
                        <?php  for($i=0;$i<5;$i++) { ?>
                            <?php if($i < $restaurantInfo[$restaurant->getHalalmenuRestaurant()->getId()]['average']): ?>
                                <img src="/images/star-on.png" />
                            <?php else: ?>  
                                <img src="/images/star-off.png" />
                            <?php  endif;?>  
                        <?php } ?> 
                                
                    <?php  endif; ?>
                            
                </div>-->
<!--                    <div class="avis" style="text-align:right">
 <?php if ($restaurantInfo[$restaurant->getHalalmenuRestaurant()->getId()]['nbreviews'] != NULL): ?>
                        <?php echo $restaurantInfo[ $restaurant->getHalalmenuRestaurant()->getId() ]['nbreviews'].' Avis'; ?>    
 <?php endif; ?>
                </div>-->
                </div>
            </div>
            <!----->
            <?php  endforeach; ?>
                </div>

            <?php if ($pager->haveToPaginate()):   ?>
                <?php echo link_to('Premier','restaurant/DepartementShow?id='.$departement.'&page='.$pager->getFirstPage()); ?>
                <?php echo link_to('Précédent','restaurant/DepartementShow?id='.$departement.'&page='.$pager->getPreviousPage()); ?>
        
          <?php foreach ($pager->getLinks() as $page): ?>
      <?php if ($page == $pager->getPage()): ?>
        <?php echo $page ?>
      <?php else: ?>
        <?php echo link_to($page,'restaurant/DepartementShow?id='.$departement.'&page='.$page); ?>

      <?php endif; ?>
    <?php endforeach; ?>
        
        
                <?php echo link_to('Suivant','restaurant/DepartementShow?id='.$departement.'&page='.$pager->getNextPage()); ?>
                <?php echo link_to('Dernier','restaurant/DepartementShow?id='.$departement.'&page='.$pager->getLastPage()); ?>
            <?php endif; ?>